package singleton

import (
	"fmt"
)

type tHungrySingleton struct {}

func newHungrySingleton() *tHungrySingleton {
	return &tHungrySingleton{}
}

func (me *tHungrySingleton) Hello() {
	fmt.Printf("tHungrySingleton.Hello\n")
}

var HungrySingleton IDemoSingleton = newHungrySingleton()